outputDirectory

Absolute directory where ScanFlow writes its output files.

This only affects the files returned in ScanFlowResult:

  • original scan images

  • enhanced scan images

  • multipage documents (PDF/TIFF)

When omitted, ScanFlow writes its outputs in the app files directory on external storage. The directory is created automatically if it does not exist.